local LocalizationService = game:GetService("LocalizationService")

local M={}

function M.Calculate_hp(v)
    v=v or 0
    return v
end

function M.Calculate_damge(v)
    v=v or 0
    return v
end

function M.Calculate_speed(v)
    v=v or 0
    return v
end

function M.Calculate_lucky(v)
    v=v or 0
    return v
end

--计算属性点数
function M.CalculateAttributesPoint(points)

    return {
        hp=M.Calculate_hp(points.hp),
        damge=M.Calculate_damge(points.damge),
        speed=M.Calculate_speed(points.speed),
        lucky=M.Calculate_lucky(points.lucky),
    }
end







return M